
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>支付成功</title>
</head>
<!--头标-->
<link rel="shortcut icon" href="http://www.dragonjun.com/default.png" type="image/x-icon" />
<style>
    .body{
        width: 1300px;
        height: 200px;
        margin: 0 auto;
        //border: 1px solid rebeccapurple;
        text-align: center;
        font-size: 30px;
        margin-top: 15%;
    }
</style>
<body>
<div class="body">
    <img style="vertical-align: middle" src="image/pay_success.jpg" alt="">
    <span>支付成功，您的订单已经成功提交</span>
    <div style="margin-top: 20px; color: cornflowerblue;font-size: 20px " id="info"></div>
</div>
</body>
<script>
    var div=document.getElementById('info');
    //定时器
    var count=3;
    window.setInterval( ()=> {
        if(count==0){
            //跳转页面
            //window.location.href='http://www.dragonjun.com';
        }else {
            count--;
            div.innerHTML=count+'秒后，跳转首页！感谢使用';
        }
    },1000)
</script>
</html>
